package com.aishua.fire;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.ImportResource;

@EnableCaching
@SpringBootApplication
@MapperScan("com.aishua.fire.mapper")
@ImportResource(locations={"classpath:mykaptcha.xml"})
@EnableAspectJAutoProxy(exposeProxy = true)
@ServletComponentScan
public class SafetyManagerApplication {

	public static void main(String[] args) {
		SpringApplication.run(SafetyManagerApplication.class, args);
	}
}
